package controller

import (
	"jtvss/pkg/ctx"

	"github.com/gin-gonic/gin"
)

// init 初始化
func init() {
	ctx.Register("", func(r *gin.RouterGroup) {
		r.GET("/devices/:guid", DevicesHandler)
	})
	ctx.RegisterJWT("", func(r *gin.RouterGroup) {
		r.Any("/station/*api", ProxyHandler("/station/api"))
	})
}
